#include<stdio.h>
#include<stdlib.h>
void fun(int *p,int nLength)
{
	int i = 10;
	for(i=0;i<nLength;i++)
	{
	printf("%d\n",p[i]);
	}
}
int main(void)
{
	int a[5] ={1,2,3,4,5};

	fun(a,5);
	system("pause");
	return 0;

}